<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:jr="http://jasperreportjsf.sf.net/tld/jasperreports-jsf-1_2.tld"> 

<h:head></h:head> 
<body> 
	<h:form>
		<rich:panel>
			<f:facet name="header">
       			<h1 align="center" style="color:#792B2B;bottom: inherit;font-family: 'KacstPoster';" title="">TRANSACCIONES</h1>
        	</f:facet>
        	<h:panelGrid columns="2">
        		
				<jr:reportLink id="reportLink" format="pdf" target="blank" value="/client/REPORTE_BANCO.jasper">
			 			<f:param name="cuenta" value="#{25}" />								
						<jr:source id="jndiSource1" value="java:jboss/datasources/bancoDS" type="jndi" />
						Descargar reporte	PDF											
				</jr:reportLink>
				
				<br/>
				<jr:reportLink id="reportLink1" format="xls" target="blank" value="/client/REPORTE_BANCO.jasper">
			 			<f:param name="cuenta" value="#{25}" />								
						<jr:source id="jndiSource2" value="java:jboss/datasources/bancoDS" type="jndi" />
								Descargar reporte	excel									
				</jr:reportLink>
				<br/>
				<jr:reportLink id="reportLink2" format="html" target="blank" value="/client/REPORTE_BANCO.jasper">
			 			<f:param name="cuenta" value="#{25}" />								
						<jr:source id="jndiSource3" value="java:jboss/datasources/bancoDS" type="jndi" />
								Visualizar en otra pagina							
				</jr:reportLink>
        	</h:panelGrid>
		</rich:panel>
	</h:form>
</body> 
</html>
